import request from "../request";
// 获取广告
export const getAdvList = (pageNo=1,pageSize=2,keyword)=>request.get("/advList",{
	params:{
		pageNo,
		pageSize,
		keyword
	}
})
// 添加广告
export const postAdv = body =>request.post("/adv",body);
// 修改广告
export const putAdvList = (id,body)=>{
	return request.put("/adv/"+id,body);
}